//
//  FXTBaseViewController.h
//  OfferJob
//
//  Created by 郑州动力无限科技 on 2017/6/30.
//  Copyright © 2017年 郑州动力无限科技. All rights reserved.
//

#import <UIKit/UIKit.h>


typedef NS_ENUM(NSInteger, FXTNavType) {
    FXTNavTypeAll =0,      //左中右item都有
    FXTNavTypeNoRightItem ,//右item没有
    FXTNavTypeOnlyTitle ,  //只有中间item有
    FXTNavTypeNone,        //没有navbar
    FXTNavTypeNoLeftItem,// 左item没有
    FXTNavTypeOnlyRightItem//只有右边item
};

@interface FXTBaseViewController : UIViewController
{
    NSNotificationCenter *defaultCenter;
}
-(FXTNavType)getNavType;

//定制导航栏上的titleView
- (void)customNavigationTitleView;

//定制导航栏左边的按钮
- (void)customNavigationLeftItem;

//定制导航栏右边的按钮
- (void)customNavigationRighItem;
-(UIView *)getView:(CGRect)rect;
// 子类优先重写以下的方法
-(NSString *)customNavigationRightItemTitle;
-(NSString *)customNavigationTitleViewTitleStr;

- (void)navigationLeftButtonClick:(id)sender;
- (void)navigationRightButtonClick:(id)sender;

- (NSDictionary *)Style;
-(NSString *)timeWithDate:(NSDate *)date;
@end
